package com.rk.admin.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rk.admin.domain.Briefinfo;
import com.rk.admin.domain.Comarticle;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface BriefInfoMapper extends BaseMapper<Briefinfo>{


    /**
     * 通过tags查找 1、首页信息
     * @param tags
     * @return
     */
    public Briefinfo queryBymodel(Integer tags);

    /**
     * 通过id修改中心简介
     * @param briefinfo
     * @return
     */
    public int updatebyid(Briefinfo briefinfo);

    

}
